@charset 'utf-8';
@import "variables";
.el-table {
  thead {
    color: $--color-text-secondary;
    th {
      font-weight: 400;
    }
  }
}

.el-menu--horizontal {
  .el-menu--popup {
    text-align: center;
    min-width: 118px;
  }
}
.el-menu--popup {
  .el-menu-item {
    a {
      text-decoration: none;
      color: $--cascader-menu-group-color;
    }
  }
  .is-active {
    a {
      text-decoration: none;
      color: $--color-primary
    }
  }
}
.tabs-card  {
  .el-tabs__header {
     background-color: #fff;
    .is-active {
      background-color: $pageBg;
      border-bottom-color: $pageBg !important;
    }
    .el-tabs__nav {
      border-top: none;
      border-left: none;
      border-radius:4px 0 0 0;
      .el-tabs__item{
        &:first-child {
          padding: 0 42px;
        }
      }
    }
  }
}
.el-tabs {
  .el-tabs__header {
    .el-tabs__item {
      &:focus.is-active.is-focus:not(:active) {
        box-shadow: none;
        border-radius: 0;
      }
    }
  }
}
/*.m-searchPanel {
  .el-date-editor--datetimerange {
    border-color: transparent;
    border-radius: 0;
  }
  .el-form--inline {
    .el-form-item {
      margin-right: 24px;
      position: relative;
      .el-form-item__content {
        position: static;
      }
    }
  }
  .el-form-item {
    border: $--input-border;
    border-radius: $--checkbox-input-border-radius;
    margin-bottom: 15px;
    input {
      border:none;
      border-radius: 0;
    }
    .el-input {
      input{
        &:focus {
          border-color: $--input-focus-border;
        }
      }
    }
    .el-input-group__prepend {
      border:none;
      border: $--checkbox-input-border;
      border-top: none;
      border-left: none;
      border-bottom: none;
    }
    .el-form-item__content {
      border: $--checkbox-input-border;
      border-top: none;
      border-right: none;
      border-bottom: none;
    }
    .el-form-item__label {
      padding-left: 12px;
      color: $--color-text-secondary;
    }
    .el-select {
      min-width: 100px;
    }
    .el-radio-group {
      padding: 0 10px;
    }
  }
  .select-timepick {
    .el-select {
      border: $--checkbox-input-border;
      border-top: none;
      border-left: none;
      border-bottom: none;
      input{
        border: none;
      }
    }
    .el-form-item__content{
      border: none;
    }
    .el-form-item__content {
      display: flex;
      .el-select {
        width: 110px;
        input {
          color: $--color-info;
        }
      }
      .el-date-editor {
        border: none;
        flex: 1;
      }
    }
  }
  .input-with-select {
    .el-form-item__content{
      border: none;
    }
  }
}*/
.m-searchPanel {
  .el-form--inline {
    .el-form-item {
      margin-bottom: 15px;
      margin-right: 0;
      width: 100%;
      display: flex;
      .el-form-item__label {
        border-radius: 4px 0 0 4px;
        border: $--checkbox-input-border;
        border-right: none;
        line-height: 38px;
        padding-left: 12px;
        color: $--color-text-secondary;
      }
      .el-form-item__content {
        display: flex;
        flex: 1;
        .el-select {
          width: 100%;
        }
      }
      .el-date-editor {
        border-radius: 0 4px 4px 0;
      }
      .el-input {
        .el-input__inner {
          border-radius: 0 4px 4px 0;
        }
      }
      .el-select {
        .el-input__inner{
          min-height: 40px;
        }
      }
    }
    .el-input-group {
      .el-input-group__prepend {
        min-width: 100px;
        .el-select {
          width: auto;
        }
      }
    }
    .select-timepick {
      width: 100%;
      .el-form-item__content {
        font-size: 0;
        width: 100%;
        .el-select {
            width: 120px;
          .el-input__inner {
            color: $--color-text-secondary;
            border-radius: 4px 0 0 4px;
            border-right: none;
            border-color: $--border-color-base;
            &:focus {
              border-color: $--border-color-base;
            }
            &:active {
              border-color: $--border-color-base;
            }
            &:hover {
              border-color: $--border-color-base;
            }
            &:visited {
              border-color: $--border-color-base;
            }
          }
          .is-focus {
            border-color: $--border-color-base;
          }
        }
        .el-date-editor {
          flex: 1;
          border-radius: 0 4px 4px 0;
        }
      }
    }

    .tele-timepick {
        .el-form-item__content {
            font-size: 0;
            width: 100%;
            .el-select {
                .el-input__inner {
                    border-radius:4px 0 0 4px; 
                    border-right: 0;
                }
            }
            .el-input__inner {
                border-radius: 0 4px 4px 0;
            }
        }
        .extra-row {
            width: 100%;
        }
    }

    .calltime {
        .calltime-row {
            width: 100%;
        }
        .calltime-begin-select {
            .el-input__inner {
                border-right: none;
                border-radius: 4px 0 0 4px;
            }
        }
        .calltime-end-select {
            .el-input__inner {
                border-left: none;
                border-radius: 0 4px 4px 0;
            }
        }
        .calltime-content {
            .el-input__inner {
                border-radius: 0 ;
            }
        }
        .calltime-content-left {
            .el-input__inner {
                border-radius: 0 ;
            }
        }
        .space {
            border-top: solid 1px #dcdfe6;
            border-bottom: solid 1px #dcdfe6;
            text-align: center;
            line-height: 40px;
            text-align: center;
            height: 40px;
        }
        .calltime-content-right {
            .el-input__inner {
                border-radius: 0 ;
            }
        }
    }
  }
}
.pageView {
  .el-collapse {
    border-top:none;
    border-bottom:none;
    .el-collapse-item {
      position: relative;
      margin-bottom: 16px;
      &:after {
        content: '';
        position: absolute;
        width: calc( 100% + 60px );
        left: -30px;
        height: 16px;
        background-color: $pageBg;
      }
      &:last-child {
        margin-bottom: -8px;
        &:after {
          height: 0;
          background-color: #fff;
        }
      }
    }
    .el-collapse-item__header {
      font-size: 16px;
      border-bottom: none;
      color: #333;
    }
    .el-collapse-item__wrap {
      border-bottom:none;
    }
    .el-collapse-item__content {
      padding-bottom: 22px;
    }
  }
}

//拨号按钮
.el-row {
    .el-col.callBtn {
        .el-form-item {
            .el-form-item__content {
                margin-left: 0 !important;
            }
        }
    }
}


